package light.head.dao.inv;

import java.util.List;

import org.springframework.stereotype.Service;

import light.head.framework.base.BaseDAO;
import light.head.model.inv.InvOutStorageDetail;
@Service
public class InvOutStorageDetailDAO extends BaseDAO<InvOutStorageDetail, Integer>{
	private final static String sql_findIosic = "FROM InvOutStorageDetail detail WHERE detail.deleted = 0 AND detail.iosic = ?";
	/**
	 * 通过入库明细编号查询入库详情
	 * @param iisic		入库明细编号
	 */
	public List<InvOutStorageDetail> findIisic(Integer iosic) {
		if (null == iosic) return null;
		return find(sql_findIosic, null, null, iosic);
	}
}
